#ifndef SHIP_H
#define SHIP_H
#include <vector>

#include "Figure.h"
#include "Coord3D.h"
#include "Box.h"

class Monster;

class Ship {
	public:
		Coord3D* coord;
		Coord3D* tir;
		Box *shipBox, *shootBox;
		bool isOnFire;

		// Constructeur
		Ship(float x, float y, float z);

		// Destructeur
		~Ship();

		void fire();
		int shoot(std::vector<Monster*>);
		void draw();
		bool isShot(Box* shoot);

		void move(float dx, float dy, float dz);
};

#endif